package com.wangyu.generator.starter.impl;

import com.wangyu.generator.core.Generator;
import com.wangyu.generator.core.context.CodeContext;
import com.wangyu.generator.core.context.GeneratorType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 自动化生成代码插件执行抽象实现
 *
 * @author: zhangQ
 * @date: 2016-8-18 16:21
 */
public class MySqlPluginGeneratorStarterImpl extends MysqlDefaultGeneratorStarterImpl {

  /**
   * sl4j
   */
  private static final Logger LOGGER = LoggerFactory
      .getLogger(MySqlPluginGeneratorStarterImpl.class);

  @Override
  protected void executeGenerator(Generator generator, CodeContext generatorContext,
      GeneratorType configType) {
    generator.pluginGenerator(generatorContext, configType);
  }
}
